cmake_minimum_required(VERSION 3.16)
set(MCU_TOOLCHAIN_PATH /config/arm/gcc/)
set(MCU_TARGET_TRIPLET arm-none-eabi)
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/cmake/mcu_gcc.cmake)
set(MCU_TYPE "N32G43x")
project(n32g43x)

add_subdirectory(projects/n32g43x_EVAL/examples/GPIO/LedBlink LedBlink)
add_subdirectory(projects/n32g43x_EVAL/examples/GPIO/IORemap IORemap)

add_subdirectory(projects/n32g43x_EVAL/examples/USB/HID_Keyboard HID_Keyboard)
add_subdirectory(projects/n32g43x_EVAL/examples/USB/JoyStickMouse JoyStickMouse)
add_subdirectory(projects/n32g43x_EVAL/examples/USB/Mass_Stroage_DataFlash Mass_Stroage_DataFlash)
add_subdirectory(projects/n32g43x_EVAL/examples/USB/Printer Printer)
add_subdirectory(projects/n32g43x_EVAL/examples/USB/Virtual_COM_Port Virtual_COM_Port)

add_subdirectory(projects/n32g43x_EVAL/examples/RT_Thread/RT_Thread18_Virtual_COM_Port RT_Thread18_Virtual_COM_Port)
add_subdirectory(projects/n32g43x_EVAL/examples/RT_Thread/RT_Thread19_HID_Keyboard RT_Thread19_HID_Keyboard)
add_subdirectory(projects/n32g43x_EVAL/examples/RT_Thread/RT_Thread20_HID_Mouse RT_Thread20_HID_Mouse)
add_subdirectory(projects/n32g43x_EVAL/examples/RT_Thread/RT_Thread21_Mass_Storage RT_Thread21_Mass_Storage)